<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zxx">

<!-- Head -->

<head>
    <title>Universe Signup Form Flat Responsive Widget Template</title>

    <!-- Meta-Tags -->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <!-- style CSS -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" type="text/css" media="all">
    <!-- google fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        .avatar-preview {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 10px auto;
            overflow: hidden;
            border: 2px solid #ddd;
        }
        .avatar-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .file-input-wrapper {
            position: relative;
            margin: 15px 0;
            text-align: center;
            color: white;
        }
        .file-input-wrapper input[type="file"] {
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }
        .file-input-label {
            display: inline-block;
            padding: 8px 15px;
            background: #4CAF50;
            color: white;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }
        .file-input-label:hover {
            background: #45a049;
        }
    </style>
</head>
<!-- //Head -->

<!-- Body -->

<body>

<section class="main">
    <div class="logo text-center">
        <h1> <a href="index.html"> 用户注册</a></h1>
    </div>
    <div class="content-w3ls text-center">
        <form action="${pageContext.request.contextPath}/qianduan/zhuce" method="post" enctype="multipart/form-data">
            <div class="file-input-wrapper">
                头像：<input type="file" name="image">
            </div>
            <div class="wthree-field">
                <input name="name" id="username" type="text" placeholder="用户名" required>
            </div>
            <div class="wthree-field">
                <input name="shouji" id="email" type="text" placeholder="手机号" required>
            </div>
            <div class="wthree-field">
                <input name="pass" id="password" type="password" placeholder="密码" required>
            </div>
            <div class="wthree-field">
<%--                <button type="submit" class="btn">--%>
<%--                </button>--%>
                <input type="submit" value="注册">
            </div>
        </form>
    </div>
</section>

<script>
</script>

</body>
<!-- //Body -->

</html>